import service from '@/utils/request';

// 租户信息管理-------------------

// 租户信息新增
export function tenantInformationTable_add(payload = {}) {
    return service.post('/tenantInformationTable/add', payload)
}

//通过id删除商品 
export function tenantInformationTable_deleteById(payload = {}) {
    return service.delete('/tenantInformationTable/deleteById', { params: payload })
}

// 批量删除
export function tenantInformationTable_deletefew(payload = {}) {
    return service.delete('/tenantInformationTable/deletefew', { params: payload })
}

// 租户信息编辑
export function tenantInformationTable_edit(payload = {}) {
    return service.put('/tenantInformationTable/edit',  payload )
}

// 通过id获取信息
export function tenantInformationTable_queryById(payload = {}) {
    return service.get('/tenantInformationTable/queryById', { params: payload })
}

//获取所有租户信息
export function tenantInformationTable_queryByPage(payload = {}) {
    return service.get('/tenantInformationTable/queryAll', { params: payload })
}








